<meta charset="UTF-8">
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1 style="text-align:center">
        企业信息
      </h1>
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="row">
         <div class="col-md-10 col-md-offset-1">
            <!-- Horizontal Form -->
            <div class="box box-info">
                <!-- box header -->
                <!--<div class="box-header with-border">
                <h3 class="box-title">Horizontal Form</h3>
                </div>-->
                <!-- /.box-header -->
                <!-- form start -->
                <form class="form-horizontal" > <!--style="max-height: 450px;overflow-y: auto; overflow-x: hidden;"-->
                <div class="box-body">
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">企业名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" placeholder="请填写企业名称" ng-model="corporation.name" required maxlength="20">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">企业编码</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" disabled ng-model="corporation.code">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">企业电话</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" ng-model="corporation.telephone">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">财务结算日期</label>
                        <div class="col-sm-5">
                            <input type="number" class="form-control" placeholder="请填写1-28" 
                            	ng-model="corporation.financial_settlement_date" text-transform ng-readonly='isYuemo'>
                        </div>
                        <div class="col-sm-5" style="margin-top: 1%;">
                        		<input type="checkbox" id="endMonth" class="chk_1" name="endMonth" 
                        				ng-model="isYuemo" />
																	<label for="endMonth" class="checklable"></label>月末结算
												</div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">企业地址</label>
                        <div class="col-sm-10">
                            <textarea rows="5" class="form-control"  style="resize:none" ng-model="corporation.address"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">企业描述</label>
                        <div class="col-sm-10">
                           <textarea rows="5" class="form-control"  style="resize:none" ng-model="corporation.description"></textarea>
                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <button type="button" class="btn btn-default col-md-4 col-sm-4 col-xs-4 btn-lg" ng-click="showCorporation()">取消更改</button>
                    <button type="submit" class="btn btn-info pull-right col-md-4 col-sm-4 col-xs-4 btn-lg" ng-click="saveCorporation()">保存</button>
                </div>
                <!-- /.box-footer -->
                </form>
            </div>
          <!-- /.box -->
         </div>
        <!--/.col (right) -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  	<!-- 提示   -->
  <div class="modal fade" id="warningDate" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" >
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" style="text-align:center">提示</h4>
      </div>
      <div class="modal-body form-horizontal">
        <div class="box-body">
           	<h3 style="text-align:center">日期不能大于31 请重新填写！</h3>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default btn-lg col-md-4 col-md-offset-4" data-dismiss="modal">确定</button>
      </div>
    </div>
  </div>
</div>